package com.jbit.hxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jbit.hxy.model.po.CategoryDish;

import java.util.List;

/**
* @author 28575
* @description 针对表【category_dish】的数据库操作Mapper
* @createDate 2024-09-11 15:38:10
* @Entity com/jbit/hxy.domain.CategoryDish
*/
public interface CategoryDishMapper extends BaseMapper<CategoryDish> {

    List<Integer> selectByCateId(Integer id);

    List<Integer> getDishIdsBycateId(Integer cateId);

    void deleteByCateId(Integer categoryId);

    void deleteAllDishesByCateId(Integer cateId);
}




